[INFO] fetching crate ecopay2 0.1.0...
[INFO] checking ecopay2-0.1.0 against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] extracting crate ecopay2 0.1.0 into /workspace/builds/worker-2/source
[INFO] validating manifest of crates.io crate ecopay2 0.1.0 on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-2/source/.cargo/config
[INFO] started tweaking crates.io crate ecopay2 0.1.0
[INFO] finished tweaking crates.io crate ecopay2 0.1.0
[INFO] tweaked toml for crates.io crate ecopay2 0.1.0 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate crates.io crate ecopay2 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3853a3f0f01ef980fb8f9fb580190c470bdfe76c741cff9be32d3e819bfde722
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3853a3f0f01ef980fb8f9fb580190c470bdfe76c741cff9be32d3e819bfde722", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3853a3f0f01ef980fb8f9fb580190c470bdfe76c741cff9be32d3e819bfde722", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3853a3f0f01ef980fb8f9fb580190c470bdfe76c741cff9be32d3e819bfde722", kill_on_drop: false }`
[INFO] [stdout] 3853a3f0f01ef980fb8f9fb580190c470bdfe76c741cff9be32d3e819bfde722
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1e61ec9b4d411be466663dcb94651cd0ba3ddd798e9bd58997aced01428d59b3
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1e61ec9b4d411be466663dcb94651cd0ba3ddd798e9bd58997aced01428d59b3", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling serde v1.0.103
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling cranelift-entity v0.52.0
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.52.0
[INFO] [stderr]    Compiling target-lexicon v0.9.0
[INFO] [stderr]    Compiling ryu v1.0.3
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling subtle v1.0.0
[INFO] [stderr]    Compiling schemars v0.5.1
[INFO] [stderr]     Checking constant_time_eq v0.1.5
[INFO] [stderr]     Checking wasmparser v0.45.2
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]     Checking base64 v0.11.0
[INFO] [stderr]     Checking hex v0.3.2
[INFO] [stderr]    Compiling blake3 v0.1.5
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling indexmap v1.3.2
[INFO] [stderr]    Compiling hashbrown v0.6.3
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[INFO] [stderr]     Checking cranelift-bforest v0.52.0
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]     Checking log v0.4.8
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.52.0
[INFO] [stderr]    Compiling raw-cpuid v7.0.3
[INFO] [stderr]     Checking crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking crypto-mac v0.7.0
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking crossbeam-queue v0.2.1
[INFO] [stderr]     Checking crossbeam-epoch v0.8.2
[INFO] [stderr]     Checking sha2 v0.8.1
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]     Checking parking_lot_core v0.7.1
[INFO] [stderr]     Checking num_cpus v1.12.0
[INFO] [stderr]     Checking page_size v0.4.2
[INFO] [stderr]     Checking errno v0.2.5
[INFO] [stderr]     Checking nix v0.15.0
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking rayon-core v1.7.0
[INFO] [stderr]     Checking parking_lot v0.10.2
[INFO] [stderr]    Compiling wasmer-runtime-core v0.14.1
[INFO] [stderr]    Compiling const-random-macro v0.1.8
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]     Checking const-random v0.1.8
[INFO] [stderr]     Checking ahash v0.2.18
[INFO] [stderr]     Checking lru v0.3.1
[INFO] [stderr]    Compiling serde_derive_internals v0.25.0
[INFO] [stderr]    Compiling serde_derive v1.0.103
[INFO] [stderr]    Compiling thiserror-impl v1.0.15
[INFO] [stderr]    Compiling schemars_derive v0.5.0
[INFO] [stderr]    Compiling snafu-derive v0.5.0
[INFO] [stderr]     Checking thiserror v1.0.15
[INFO] [stderr]     Checking snafu v0.5.0
[INFO] [stderr]    Compiling cranelift-codegen v0.52.0
[INFO] [stderr]     Checking serde_json v1.0.51
[INFO] [stderr]     Checking bincode v1.2.1
[INFO] [stderr]     Checking serde-bench v0.0.7
[INFO] [stderr]     Checking serde-json-wasm v0.1.3
[INFO] [stderr]     Checking serde_bytes v0.11.3
[INFO] [stderr]     Checking wasmer-clif-fork-frontend v0.52.0
[INFO] [stderr]     Checking cranelift-native v0.52.0
[INFO] [stderr]     Checking cosmwasm v0.7.2
[INFO] [stderr]     Checking wasmer-clif-fork-wasm v0.52.0
[INFO] [stderr]     Checking cw-storage v0.2.0
[INFO] [stderr]     Checking ecopay2 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `snafu::ResultExt`
[INFO] [stdout]  --> src/contract.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use snafu::ResultExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cosmwasm::serde::to_vec`
[INFO] [stdout]  --> src/contract.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cosmwasm::serde::to_vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SerializeErr`, `dyn_contract_err`, `unauthorized`
[INFO] [stdout]  --> src/contract.rs:7:38
[INFO] [stdout]   |
[INFO] [stdout] 7 | use cosmwasm::errors::{contract_err, dyn_contract_err, unauthorized, Unauthorized, Result, SerializeErr};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/contract.rs:94:8
[INFO] [stdout]    |
[INFO] [stdout] 94 |     if (env.message.signer != state.oracle) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/contract.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |     else if (state.is_locked == Some(1)) {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:101:15
[INFO] [stdout]     |
[INFO] [stdout] 101 |     } else if (state.status == "DONE") {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 |         if (state.ecostate > ecostate) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:108:16
[INFO] [stdout]     |
[INFO] [stdout] 108 |             if (ecostate / 100 > 1) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:125:12
[INFO] [stdout]     |
[INFO] [stdout] 125 |         if (payout > total_tokens) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:169:12
[INFO] [stdout]     |
[INFO] [stdout] 169 |         if (env.message.signer != state.owner) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:184:12
[INFO] [stdout]     |
[INFO] [stdout] 184 |         if (env.message.signer != state.owner) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:200:12
[INFO] [stdout]     |
[INFO] [stdout] 200 |         if (env.message.signer != state.owner) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CanonicalAddr`, `Coin`
[INFO] [stdout]  --> src/msg.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cosmwasm::types::{Coin, CanonicalAddr, HumanAddr};
[INFO] [stdout]   |                       ^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Coin`, `CosmosMsg`, `Response`, `log`
[INFO] [stdout]  --> src/state.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cosmwasm::types::{log, CanonicalAddr, Coin, CosmosMsg, Env, Response};
[INFO] [stdout]   |                       ^^^                 ^^^^  ^^^^^^^^^       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `balances_store`
[INFO] [stdout]   --> src/contract.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut balances_store = PrefixedStorage::new(PREFIX_BALANCES, &mut deps.storage);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balances_store`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/contract.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut balances_store = PrefixedStorage::new(PREFIX_BALANCES, &mut deps.storage);
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking wasmer-clif-backend v0.14.1
[INFO] [stderr]     Checking wasmer-middleware-common v0.14.1
[INFO] [stderr]     Checking cosmwasm-vm v0.7.2
[INFO] [stdout] error[E0432]: unresolved import `ecopay2::msg::CountResponse`
[INFO] [stdout]  --> examples/schema.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ecopay2::msg::{CountResponse, HandleMsg, InitMsg, QueryMsg};
[INFO] [stdout]   |                    ^^^^^^^^^^^^^ no `CountResponse` in `msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ecopay2`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: couldn't read tests/../target/wasm32-unknown-unknown/release/ecopay2.wasm: No such file or directory (os error 2)
[INFO] [stdout]   --> tests/integration.rs:39:22
[INFO] [stdout]    |
[INFO] [stdout] 39 | static WASM: &[u8] = include_bytes!("../target/wasm32-unknown-unknown/release/ecopay2.wasm");
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ecopay2::msg::CountResponse`
[INFO] [stdout]   --> tests/integration.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 | use ecopay2::msg::{CountResponse, HandleMsg, InitMsg, QueryMsg};
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ no `CountResponse` in `msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `InitMsg` has no field named `count`
[INFO] [stdout]   --> tests/integration.rs:47:25
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let msg = InitMsg { count: 17 };
[INFO] [stdout]    |                         ^^^^^ `InitMsg` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `region`, `beneficiary`, `oracle`, `ecostate`, `total_tokens` ... and 3 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant named `GetCount` found for enum `QueryMsg`
[INFO] [stdout]   --> tests/integration.rs:55:42
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let res = query(&mut deps, QueryMsg::GetCount {}).unwrap();
[INFO] [stdout]    |                                          ^^^^^^^^ variant not found in `QueryMsg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `InitMsg` has no field named `count`
[INFO] [stdout]   --> tests/integration.rs:64:25
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let msg = InitMsg { count: 17 };
[INFO] [stdout]    |                         ^^^^^ `InitMsg` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `region`, `beneficiary`, `oracle`, `ecostate`, `total_tokens` ... and 3 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant named `Increment` found for enum `HandleMsg`
[INFO] [stdout]   --> tests/integration.rs:75:26
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let msg = HandleMsg::Increment {};
[INFO] [stdout]    |                          ^^^^^^^^^ variant not found in `HandleMsg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant named `GetCount` found for enum `QueryMsg`
[INFO] [stdout]   --> tests/integration.rs:79:42
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let res = query(&mut deps, QueryMsg::GetCount {}).unwrap();
[INFO] [stdout]    |                                          ^^^^^^^^ variant not found in `QueryMsg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `InitMsg` has no field named `count`
[INFO] [stdout]   --> tests/integration.rs:88:25
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let msg = InitMsg { count: 17 };
[INFO] [stdout]    |                         ^^^^^ `InitMsg` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `region`, `beneficiary`, `oracle`, `ecostate`, `total_tokens` ... and 3 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant named `Reset` found for enum `HandleMsg`
[INFO] [stdout]   --> tests/integration.rs:99:26
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let msg = HandleMsg::Reset { count: 5 };
[INFO] [stdout]    |                          ^^^^^ variant not found in `HandleMsg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant named `Reset` found for enum `HandleMsg`
[INFO] [stdout]    --> tests/integration.rs:108:26
[INFO] [stdout]     |
[INFO] [stdout] 108 |     let msg = HandleMsg::Reset { count: 5 };
[INFO] [stdout]     |                          ^^^^^ variant not found in `HandleMsg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant named `GetCount` found for enum `QueryMsg`
[INFO] [stdout]    --> tests/integration.rs:112:42
[INFO] [stdout]     |
[INFO] [stdout] 112 |     let res = query(&mut deps, QueryMsg::GetCount {}).unwrap();
[INFO] [stdout]     |                                          ^^^^^^^^ variant not found in `QueryMsg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0560, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `snafu::ResultExt`
[INFO] [stdout]  --> src/contract.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use snafu::ResultExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cosmwasm::serde::to_vec`
[INFO] [stdout]  --> src/contract.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cosmwasm::serde::to_vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SerializeErr`, `dyn_contract_err`, `unauthorized`
[INFO] [stdout]  --> src/contract.rs:7:38
[INFO] [stdout]   |
[INFO] [stdout] 7 | use cosmwasm::errors::{contract_err, dyn_contract_err, unauthorized, Unauthorized, Result, SerializeErr};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/contract.rs:94:8
[INFO] [stdout]    |
[INFO] [stdout] 94 |     if (env.message.signer != state.oracle) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/contract.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |     else if (state.is_locked == Some(1)) {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:101:15
[INFO] [stdout]     |
[INFO] [stdout] 101 |     } else if (state.status == "DONE") {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 |         if (state.ecostate > ecostate) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:108:16
[INFO] [stdout]     |
[INFO] [stdout] 108 |             if (ecostate / 100 > 1) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:125:12
[INFO] [stdout]     |
[INFO] [stdout] 125 |         if (payout > total_tokens) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:169:12
[INFO] [stdout]     |
[INFO] [stdout] 169 |         if (env.message.signer != state.owner) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:184:12
[INFO] [stdout]     |
[INFO] [stdout] 184 |         if (env.message.signer != state.owner) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:200:12
[INFO] [stdout]     |
[INFO] [stdout] 200 |         if (env.message.signer != state.owner) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cosmwasm::errors::Error`
[INFO] [stdout]    --> src/contract.rs:293:9
[INFO] [stdout]     |
[INFO] [stdout] 293 |     use cosmwasm::errors::Error;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CanonicalAddr`, `Coin`
[INFO] [stdout]  --> src/msg.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cosmwasm::types::{Coin, CanonicalAddr, HumanAddr};
[INFO] [stdout]   |                       ^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Coin`, `CosmosMsg`, `Response`, `log`
[INFO] [stdout]  --> src/state.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cosmwasm::types::{log, CanonicalAddr, Coin, CosmosMsg, Env, Response};
[INFO] [stdout]   |                       ^^^                 ^^^^  ^^^^^^^^^       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `balances_store`
[INFO] [stdout]   --> src/contract.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut balances_store = PrefixedStorage::new(PREFIX_BALANCES, &mut deps.storage);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balances_store`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `beneficiary`
[INFO] [stdout]    --> src/contract.rs:327:13
[INFO] [stdout]     |
[INFO] [stdout] 327 |         let beneficiary = deps
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_beneficiary`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/contract.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut balances_store = PrefixedStorage::new(PREFIX_BALANCES, &mut deps.storage);
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "1e61ec9b4d411be466663dcb94651cd0ba3ddd798e9bd58997aced01428d59b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e61ec9b4d411be466663dcb94651cd0ba3ddd798e9bd58997aced01428d59b3", kill_on_drop: false }`
[INFO] [stdout] 1e61ec9b4d411be466663dcb94651cd0ba3ddd798e9bd58997aced01428d59b3
